package com.qianfeng.ssmplatform.web.service.api;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * 缓存服务的熔断
 */
//@Component
public class CacheServiceFallback implements CacheService {


    @Override
    public void save2Cache(String key, String value, Integer expireSecond) {

    }

    @Override
    public void save2Cache(String key, String value) {

    }

    @Override
    public String get(String key) {
        return null;
    }

    @Override
    public Object getObject(String key) {
        return null;
    }

    @Override
    public Long del(String... keys) {
        return null;
    }

    @Override
    public boolean expire(String key, long seconds) {
        return false;
    }

    @Override
    public long incr(String key, long delta) {
        return 0;
    }

    @Override
    public long decr(String key, long delta) {
        return 0;
    }

    @Override
    public Map<Object, Object> hGetAll(String key) {
        return null;
    }

    @Override
    public void hMset(String key, Map<String, Object> map) {

    }

    @Override
    public Object hget(String key, String field) {
        return null;
    }

    @Override
    public Set<String> getKeys(String keyPattern) {
        return null;
    }

    @Override
    public boolean zAdd(String key, String value, double score) {
        return false;
    }

    @Override
    public Set<Object> zRangeByScore(String key, double min, double max) {
        return null;
    }

    @Override
    public List<Object> pipelineOps(Map<String, Object> map) {
        return null;
    }
}
